<!--
	editormd :

	github：
	https://github.com/pandao/editor.md

	官网：
	https://pandao.github.io/editor.md/

	完整示例：
	https://pandao.github.io/editor.md/examples/full.html

	主题：
	http://pandao.github.io/editor.md/examples/themes.html?tdsourcetag=s_pcqq_aiomsg
-->



<script type="text/javascript">
	var blogid = ${ id };           //博客id
	var blogauthor = ${ uid?c };    //  博客作者的uid
</script>


<!-- 博客标题 -->
<div class="layui-row">
	<div class="blog_title_wrap">
		<a href=" javascript:void(0);">
			<div class="blog_title_avatar">
				<div> <img id="avatar" src="${res_server}${avatar}"></div>
				<div class="layui-hide-xs blog_title_nick" id="nick">${nick}</div>
			</div>
		</a>
		<h1 class="blog_title">${title}</h1>
	</div>
	<!-- <hr> -->
</div>

<!-- 博客元数据 -->
<div class="layui-row">
	<div class="blog_resume">
		发表于：<span id="createtime">${createtime}</span>
		<span class="blog_resume_split"></span>
		点击量：<span id="accessCount" title="后上的统计功能，早期的数据没有统计到">0</span>
		<span class="blog_resume_split"></span>
		赞：<span id="starCount">未知</span>
		<span class="blog_resume_split"></span>
		<div class="layui-badge blog_badge layui-bg-" id="original">${original}</div>

		<span id="modify_blog_wrap" style="display: none">
			<span class="blog_resume_split"></span>
			<a href="/blog/u/index.html?id=${id}">
				<div class="layui-badge blog_badge layui-bg-green">修改</div>
			</a>
		</span>

		<!-- <button class="layui-btn layui-btn-sm">修改</button> -->
		<hr>
	</div>

</div>




<!-- 博客内容 -->
<div class="layui-row">
	<div id="html-content-blog-view"  class="editormd-preview-theme-dark">


			${html}
		<!-- <textarea style="display:none;" id="html-content-blog-view-textarea">md内容</textarea> -->
	</div>

</div>

<!--  -->
<!-- <div class="layui-row">
	<hr>
</div> -->

<!-- 版本申明 -->
<div class="layui-row">
	<div class="blog_copyright_wrap">
		<fieldset class="layui-elem-field layui-field-title">
			<legend style="text-align: center">
				<!-- <a href="javascript:void(0);" rel="noopener noreferrer" target="_blank">
						<span id="paid_reading" >关于知识付费的说明</span>
					</a> -->
				<span id="blog_copyright">© 著作权归作者所有，未经授权不得转载！</span>
			</legend>
		</fieldset>
	</div>

</div>


<script src="/blog/r/blog-view.js?${js_version}"></script>